package com.turing.model.caller.client;

import com.turing.common.response.ResponseVO;
import com.turing.model.caller.vo.in.AnalysisResultVo;
import com.turing.model.caller.vo.in.FileTaskVo;
import com.turing.model.caller.vo.in.OcrPageTask;
import com.turing.model.caller.vo.in.OcrResultVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

public interface BaseClient {

    ResponseVO<Object> unLockOcrPageTask(String ocrPageTaskSn);

    ResponseVO<OcrPageTask> getAndLockOcrPageTask(String domain);

    ResponseVO<Object> ocrResultCallback( OcrResultVo ocrResultVo);

    ResponseVO<FileTaskVo> getAndLockAnalysisTask(String domain);

    ResponseVO<Object> unLockAnalysisTask(String taskSn);

    ResponseVO<Object> analysisCallback(AnalysisResultVo analysisResultVo);

}
